from typing import List
from pydantic import BaseModel

class FaceDescriptor(BaseModel):
    """
    注册人脸特征描述模型
    """
    descriptor: List[float]
    userName: str


class verifyFaceDescriptor(BaseModel):
    """
    登录人脸特征描述模型
    """
    descriptor: List[float]